package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description: <br>
 * createTime: 2021/12/28 9:36 <br>
 *
 * @author zzh
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("/demo1")
    public String demo1 () {
        return "hello world!";
    }
}
